// Operator name: UDOP_OpLocal
// Put your member variables and functions here
// void processPunctuation(const Punctuation::Value & value, unsigned int input);
// void allPortsReady();
// void prepareToTerminate();
// void getCheckpoint(UTILS_NAMESPACE::SBuffer & checkpoint);
// void restoreCheckpoint(UTILS_NAMESPACE::SBuffer & checkpoint);
void localAnalysis();

int num_ensemble;
int radius;
int astep;
int counter;

double **pxen_bar;
double **pxen_mass;
double **pyen_con;
float **pxen_tlat;
float **pxen_tlon;
float **pxen_zlvl;
float **pxen_sigh;
float **pxen_sigw;
float **pxen_sigv;
int16_t **pxen_page;
int16_t **pxen_hdwp;
int16_t **pxen_ptyp;
int16_t **pxen_pgrd;

dlist<double> xb_bar;
dlist<float> xb_tlat;
dlist<float> xb_tlon;
dlist<float> xb_zlvl;
dlist<float> xb_sigh;
dlist<float> xb_sigw;
dlist<float> xb_sigv;
dlist<int16_t> xb_page;
dlist<int16_t> xb_hdwp;
dlist<int16_t> xb_ptyp;
dlist<int16_t> xb_pgrd;

dmatrix<double> en_bar;
dmatrix<double> en_mass;
dmatrix<float> en_tlat;
dmatrix<float> en_tlon;
dmatrix<float> en_zlvl;
dmatrix<float> en_sigh;
dmatrix<float> en_sigw;
dmatrix<float> en_sigv;
dmatrix<int16_t> en_page;
dmatrix<int16_t> en_hdwp;
dmatrix<int16_t> en_ptyp;
dmatrix<int16_t> en_pgrd;

dlist<double> yb_bar;
dlist<float> yb_clat;
dlist<float> yb_clon;
dmatrix<double> en_con;

dlist<double> y_obs;
dlist<float> obs_olat;
dlist<float> obs_olon;
int16_t tstep;
bool flag;
short numobs;

double *px_bar;
float *px_tlat;
float *px_tlon;
float *px_zlvl;
float *px_sigh;
float *px_sigw;
float *px_sigv;
int16_t *px_page;
int16_t *px_hdwp;
int16_t *px_ptyp;
int16_t *px_pgrd;

double *py_bar;
float *py_clat;
float *py_clon;

double *obs;
float *obs_lat;
float *obs_lon;








